package com.sharker.myproject.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

	@RequestMapping(value = { "/", "index.html" })
	public String index() {
		return "index";
	}

	@RequestMapping("/about.html")
	public String about(Model model) {
		return "sys/about";

	}

	@RequestMapping("/services.html")
	public String services(Model model) {
		return "sys/services";

	}

	@RequestMapping("/contact.html")
	public String contact(Model model) {
		return "sys/contact";

	}

	@RequestMapping("/blog.html")
	public String blog(Model model) {
		return "sys/blog";
	}
	@RequestMapping("/portfolio.html")
	public String portfolio(Model model) {
		return "sys/portfolio";
	}
}
